import {request} from "@/api/request";
export function addUser (datas){
  return request({
    url:'/api/web_user/adjuration',
    method:'POST',
    data:JSON.stringify(datas)
  })
}
export function getUserList(page,pageSize,datas){
  return request({
    url:`/api/web_user/list/${page}/${pageSize}`,
    method:'POST',
    data:JSON.stringify(datas)
  })
}
export function deleteUser(userId){
  return request({
    url:`/api/web_user/delete/${userId}`,

    method:'DELETE'
  })
}
